package DAO.impl;

import DAO.IUserDAO;
import adapters.UserAdapter;
import logic.User;

/**
 * Created by Волков Олег on 20.06.14.
 */
public class UserDAOImpl implements IUserDAO{

    private UserAdapter userAdapter;

    public UserDAOImpl() {
        this.userAdapter = new UserAdapter(User.class);
    }

    @Override
    public Boolean checkUser(String login, String password) {
        return userAdapter.checkUser(login,password);
    }
}
